package com.guinea.account.entity;
// Generated 2011-3-17 19:31:55 by Hibernate Tools 3.4.0.Beta1


import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.guinea.core.orm.BaseEntity;
public class Role implements BaseEntity {


     private Long id;
     private String status;
     private Long creator;
     private Date created;
     private Long modificator;
     private Date modified;
     private String roleName;
     private String title;
     private Set users = new HashSet(0);
     private Set menus = new HashSet(0);
     private Set resources = new HashSet(0);

    public Role() {
    }

	
    public Role(String status, Long creator, Date created, String roleName, String title) {
        this.status = status;
        this.creator = creator;
        this.created = created;
        this.roleName = roleName;
        this.title = title;
    }
    public Role(String status, Long creator, Date created, Long modificator, Date modified, String roleName, String title, Set users, Set menus, Set resources) {
       this.status = status;
       this.creator = creator;
       this.created = created;
       this.modificator = modificator;
       this.modified = modified;
       this.roleName = roleName;
       this.title = title;
       this.users = users;
       this.menus = menus;
       this.resources = resources;
    }
   
    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    public Long getCreator() {
        return this.creator;
    }
    
    public void setCreator(Long creator) {
        this.creator = creator;
    }
    public Date getCreated() {
        return this.created;
    }
    
    public void setCreated(Date created) {
        this.created = created;
    }
    public Long getModificator() {
        return this.modificator;
    }
    
    public void setModificator(Long modificator) {
        this.modificator = modificator;
    }
    public Date getModified() {
        return this.modified;
    }
    
    public void setModified(Date modified) {
        this.modified = modified;
    }
    public String getRoleName() {
        return this.roleName;
    }
    
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    public Set getUsers() {
        return this.users;
    }
    
    public void setUsers(Set users) {
        this.users = users;
    }
    public Set getMenus() {
        return this.menus;
    }
    
    public void setMenus(Set menus) {
        this.menus = menus;
    }
    public Set getResources() {
        return this.resources;
    }
    
    public void setResources(Set resources) {
        this.resources = resources;
    }




}


